%%%%%%%%%%%%%%%%%%%%%
% electron_config.m %
%%%%%%%%%%%%%%%%%%%%%

number;

% http://klbproductions.com/yogi/periodic/ %

electron_config = {
'1s'
'1s2'
'2s'
'2s2'
'2s2 2p'
'2s2 2p2'
'2s2 2p3'
'2s2 2p4'
'2s2 2p5'
'2s2 2p6'
'3s'
'3s2'
'3s2 3p'
'3s2 3p2'
'3s2 3p3'
'3s2 3p4'
'3s2 3p5'
'3s2 3p6'
'4s'
'4s2'
'3d 4s2'
'3d2 4s2'
'3d3 4s2'
'3d5 4s'
'3d5 4s2'
'3d6 4s2'
'3d7 4s2'
'3d8 4s2'
'3d10 4s'
'3d10 4s2'
'3d10 4s2 4p'
'3d10 4s2 4p2'
'3d10 4s2 4p3'
'3d10 4s2 4p4'
'3d10 4s2 4p5'
'3d10 4s2 4p6'
'5s'
'5s2'
'4d 5s2'
'4d2 5s2'
'4d4 5s'
'4d5 5s'
'4d6 5s'
'4d7 5s'
'4d8 5s'
'4d10'
'4d10 5s'
'4d10 5s2'
'4d10 5s2 5p'
'4d10 5s2 5p2'
'4d10 5s2 5p3'
'4d10 5s2 5p4'
'4d10 5s2 5p5'
'4d10 5s2 5p6'
'6s'
'6s2'
'5d 6s2'
'4f2 6s2'
'4f3 6s2'
'4f4 6s2'
'4f5 6s2'
'4f6 6s2'
'4f7 6s2'
'4f7 5d 6s2'
'4f9 6s2'
'4f10 6s2'
'4f11 6s2'
'4f12 6s2'
'4f13 6s2'
'4f14 6s2'
'4f14 5d 6s2'
'4f14 5d2 6s2'
'4f14 5d3 6s2'
'4f14 5d4 6s2'
'4f14 5d5 6s2'
'4f14 5d6 6s2'
'4f14 5d7 6s2'
'4f14 5d9 6s'
'4f14 5d10 6s'
'4f14 5d10 6s2'
'4f14 5d10 6s2 6p'
'4f14 5d10 6s2 6p2'
'4f14 5d10 6s2 6p3'
'4f14 5d10 6s2 6p4'
'4f14 5d10 6s2 6p5'
'4f14 5d10 6s2 6p6'
'7s'
'7s2'
'6d 7s2'
'6d2 7s2'
'5f2 6d 7s2'
'5f3 6d 7s2'
'5f4 6d 7s2'
'5f6 7s2'
'5f7 7s2'
'5f7 6d 7s2'
'5f9 7s2'
'5f10 7s2'
'5f11 7s2'
'5f12 7s2'
'5f13 7s2'
'5f14 7s2'
'5f14 6d 7s2'
'5f14 6d2 7s2'
'5f14 6d3 7s2'
'5f14 6d4 7s2'
'5f14 6d5 7s2'
'5f14 6d6 7s2'
'5f14 6d7 7s2'
};

if size(electron_config) ~= ZMAX then
  fprintf (1, 'electron_config has %d elements\n', size(electron_config));
  break;
else
  fprintf (1, 'electron_config added ..\n');
end;

